<template>
  <div class="echart">
    <div class="echart_left">
      <pieComponent :canvasId="'serve'"></pieComponent>
    </div>
    <div class="echart_right">
      <pieComponent :canvasId="'validity'"></pieComponent>
    </div>
  </div>
</template>

<script setup>
import { ref } from "vue";
import pieComponent from "@/components/pieComponent.vue";
</script>

<style lang="scss" scoped>
.echart {
  height: 100%;
  display: flex;
  justify-content: space-around;
  align-items: center;
  &_left {
    width: 50%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  &_right {
    width: 50%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
}
</style>
